package com.share.design.factory.abs;

/**
 * author:caifan
 * date:2020/2/4
 */
public class OrangeFactory extends AbstractFactory {
    @Override
    Juice createJuice() {
        System.out.println("create orange juice");
        return new OrageJuice();
    }

    @Override
    Pie createPie() {
        System.out.println("create orange pie");
        return new OrangePie();
    }
}
